﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            car c = new car();
            Console.WriteLine("请输入车的名字");
            c.carname = Console.ReadLine();
            Console.WriteLine("请输入车的颜色");
            c.carcolor = Console.ReadLine();
            Console.WriteLine("请输入车的轮子数量");
            c.carnum = Console.ReadLine();
            car.action();


        }
    }
}
